package com.service.system;

import com.domain.system.Dept;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface DeptService {

    PageInfo findAll(String companyId, Integer page, Integer size);

    List<Dept> findAll(String companyId);

    Integer save(Dept dept);

    Dept findById(String id);

    Integer update(Dept dept);

    Integer delete(String id);
}
